package com.meowcook.dao;

import com.meowcook.pojo.dto.CommentListDTO;
import com.meowcook.pojo.po.Comment;

import java.util.List;

public interface CommentMapper {
    int insert(Comment row);

    int insertSelective(Comment row);

    Comment selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Comment row);

    int updateByPrimaryKey(Comment row);

    List<Comment> selectByRecipeId(CommentListDTO dto);
}